/**
* This file is part of mobileworks.
*
* mobileworks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* You should have received a copy of the GNU General Public License
* along with dev.clipall.  If not, see <http://www.gnu.org/licenses/>.
*
* https://code.google.com/p/mobileworks/
*/

package base;

import javax.microedition.lcdui.Image;
import view.border.Border;
import view.font.Font;

/**
 *
 * @author Erol Hira
 */
public class ResourceAccess {
    
    
    public static short[][] propArr;
    public static short[][] commandArr;
    public static short[][] transArr;
    public static short[][] actionArr;
    public static short[][] styles;
    public static short[][][] states;  // [state index][0.page 1.transition 2.action][]
    public static short[][][][] pages; // [page index][0.componnets 1.menus][component or menu index][0. style id or menu position  1...--> property id or command id]              
    public static String[][] funcArr;    
    public static String[] nonNumericPropValuesArr;    
    
    
    public static Image getImage(int locator){
        return null;
    }
    
    public static Font getFont(int locator){
        return null;
    }
    
    public static Border getBorder(int locator){
        return null;
    }
    
    public static int getPageId(int stateId){
        return states[stateId][0][0];
    }
}
